package cc.messcat.service.helpTeam;

import java.util.List;
import java.util.Map;

import cc.messcat.common.model.Pager;
import cc.messcat.entity.AreaVO;
import cc.messcat.entity.area.Area;
import cc.messcat.entity.helpUnits.HelpTeam;
import cc.messcat.entity.helpUnits.HelpTeamPerson;
import cc.messcat.entity.system.McUser;

public interface HelpTeamService {
    void addHelpTeamPerson(HelpTeamPerson helpTeamPerson);


    HelpTeam getTeamByCondition(HelpTeam team);

    @Deprecated
    Pager getPersonByVilliagesId(HelpTeamPerson helpTeamPerson, Integer pageNo, Integer pagesize);

    Pager getPersonByVilliagesId(HelpTeamPerson helpTeamPerson, Long[] villiages, Integer pageNo, Integer pageSize);

    void removeHelpTeamPersonById(Long id);

    Pager getPersonByCondition(HelpTeamPerson helpTeamPerson, AreaVO areaVO, Integer pageNo, Integer pageSize);
    
    Pager getPersonByCondition(McUser user, Area area, HelpTeamPerson helpTeamPerson, AreaVO areaVO, Integer pageNo, Integer pageSize);

	List<Map<String, Object>> getHelpTeamPersonByPoorVillage(Long id);
}
